package com.web44.springboot.config;

import com.web44.springboot.service.IStudentService;
import com.web44.springboot.service.impl.StudentService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Title: SpringConfig
 * @Description:
 * @Auther: py
 * @Version: 1.0
 * @create 2024/2/28 13:51
 */
@Configuration
public class SpringConfig {

    @Bean
    public IStudentService studentService() {
        return new StudentService();
    }
}
